﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Master.Master" AutoEventWireup="true" CodeBehind="wFrmRequerimientoAsigna.aspx.cs" Inherits="Crosland.Automotriz.Web.Requerimiento.wFrmRequerimientoAsigna" %>

<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxTabControl" TagPrefix="dx" %>

<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>

<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxCloudControl" TagPrefix="dx" %>

<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxHeadline" TagPrefix="dx" %>

<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxDocking" TagPrefix="dx" %>

<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<%@ Register assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxRoundPanel" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPanel" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPopupControl" tagprefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphMain" runat="server">
    <div class="main-header" style="width: 100%">
        <div class="main-titulo" style="width: 87%;">
            Lista de requerimientos Asignados
               </div>
    </div>
    <table>
        <tr>
        <td>
        
            <dx:ASPxButton ID="btnNuevo" runat="server" Text="Nuevo" 
                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                CssPostfix="Office2010Blue" 
                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                AutoPostBack="False" Width="100px" onclick="btnNuevo_Click">
                <Paddings Padding="4px" />
            </dx:ASPxButton>
        </td>
        
        <td>
            <dx:ASPxButton ID="btnModificar" runat="server" Text="Modificar" 
                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                CssPostfix="Office2010Blue" 
                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                AutoPostBack="False" Width="100px" onclick="btnModificar_Click">
                <Paddings Padding="4px" />
            </dx:ASPxButton>
        
        </td>
        <td>
        
            <dx:ASPxButton ID="btnAnular" runat="server" Text="Anular" 
                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                CssPostfix="Office2010Blue" 
                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                AutoPostBack="False" Width="100px">
                <Paddings Padding="4px" />
            </dx:ASPxButton>
        </td>
        <td>
            <dx:ASPxButton ID="btnSalir" runat="server" Text="Salir" 
                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                CssPostfix="Office2010Blue" 
                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                AutoPostBack="False" Width="100px" onclick="btnSalir_Click">
                <Paddings Padding="4px" />
            </dx:ASPxButton>
        
        </td>
        </tr>
        </table>
        <div class="content-form">
        
            
            

            <dx:ASPxRoundPanel ID="rpRequerimientosAsignado" runat="server" Width="700px" 
                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                CssPostfix="Office2010Blue" EnableDefaultAppearance="False" 
                GroupBoxCaptionOffsetX="6px" GroupBoxCaptionOffsetY="-19px" HeaderText="" 
                ShowHeader="False" 
                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                <ContentPaddings PaddingBottom="10px" PaddingLeft="9px" PaddingRight="11px" 
                    PaddingTop="10px" />
                <HeaderStyle>
                <Paddings PaddingBottom="6px" PaddingLeft="9px" PaddingRight="11px" 
                    PaddingTop="3px" />
                </HeaderStyle>
                <PanelCollection>
<dx:PanelContent runat="server" SupportsDisabledAttribute="True">

    <dx:ASPxGridView ID="grdRequerimientosAsigandos" runat="server" 
        AutoGenerateColumns="False" 
        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
        CssPostfix="Office2010Blue" Width="100%" 
        OnHtmlRowCreated="grdRequerimientosAsigandos_HtmlRowCreated" 
        OnAfterPerformCallback="grdRequerimientosAsigandos_AfterPerformCallback">
        <Columns>
            <dx:GridViewDataTextColumn Caption="Nro.Req" FieldName="ID_LOG_REQUERIMIENTO" 
                ShowInCustomizationForm="True" VisibleIndex="0">
            </dx:GridViewDataTextColumn>
            <dx:GridViewDataTextColumn Caption="Fecha registrado" 
                FieldName="FECHA_REGISTRO" ShowInCustomizationForm="True" VisibleIndex="1">
                <PropertiesTextEdit DisplayFormatString="dd/MM/yyyy">
                </PropertiesTextEdit>
            </dx:GridViewDataTextColumn>
            <dx:GridViewDataTextColumn FieldName="ID_AREA" ShowInCustomizationForm="True" 
                Visible="False" VisibleIndex="2">
            </dx:GridViewDataTextColumn>
            <dx:GridViewDataTextColumn Caption="Descripcion" FieldName="DESCRIPCION" 
                ShowInCustomizationForm="True" VisibleIndex="3">
            </dx:GridViewDataTextColumn>
            <dx:GridViewDataTextColumn Caption="Fecha Comienzo" FieldName="FECHA_INICIO" 
                ShowInCustomizationForm="True" VisibleIndex="4">
                <PropertiesTextEdit DisplayFormatString="dd/MM/yyyy">
                </PropertiesTextEdit>
            </dx:GridViewDataTextColumn>
            <dx:GridViewDataTextColumn Caption="Fecha termino" FieldName="FECHA_FIN" 
                ShowInCustomizationForm="True" VisibleIndex="5">
                <PropertiesTextEdit DisplayFormatString="dd/MM/yyyy">
                </PropertiesTextEdit>
            </dx:GridViewDataTextColumn>
            <dx:GridViewDataTextColumn Caption="Dias faltante" FieldName="DIAS_FALTANTE" 
                ShowInCustomizationForm="True" VisibleIndex="6">
            </dx:GridViewDataTextColumn>
            <dx:GridViewDataTextColumn Caption="Porcentaje" ShowInCustomizationForm="True" 
                VisibleIndex="7" FieldName="DIAS_PORCENTAJE">
                <DataItemTemplate>
                    <dx:ASPxProgressBar ID="ASPxProgressBar1" runat="server" Height="29px" 
                       Position='<%# (int)Eval("DIAS_PORCENTAJE") %>'  Width="250px" 
                        CssFilePath="~/App_Themes/SoftOrange/{0}/styles.css" 
                        CssPostfix="SoftOrange" DisplayFormatString="0" DisplayMode="Position">
                    </dx:ASPxProgressBar>
                </DataItemTemplate>
            </dx:GridViewDataTextColumn>
            <dx:GridViewDataTextColumn Caption="Archivo" FieldName="RUTA_ARCHIVO" 
                ShowInCustomizationForm="True" VisibleIndex="8">
            </dx:GridViewDataTextColumn>
        </Columns>
        <Images SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
            <LoadingPanelOnStatusBar Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
            </LoadingPanelOnStatusBar>
            <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
            </LoadingPanel>
        </Images>
        <ImagesFilterControl>
            <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
            </LoadingPanel>
        </ImagesFilterControl>
        <Styles CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
            CssPostfix="Office2010Blue">
            <Header ImageSpacing="5px" SortingImageSpacing="5px">
            </Header>
            <LoadingPanel ImageSpacing="5px">
            </LoadingPanel>
        </Styles>
        <StylesPager>
            <PageNumber ForeColor="#3E4846">
            </PageNumber>
            <Summary ForeColor="#1E395B">
            </Summary>
        </StylesPager>
        <StylesEditors ButtonEditCellSpacing="0">
            <ProgressBar Height="21px">
            </ProgressBar>
        </StylesEditors>
    </dx:ASPxGridView>

                    </dx:PanelContent>
</PanelCollection>
            </dx:ASPxRoundPanel>

        <table>
        <tr>
        <td>
        
        
        <dx:ASPxPopupControl ID="popupmsj" runat="server" AllowDragging="True" ClientInstanceName="popupmsj"
                            CloseAction="None" 
                   CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue"
                            EnableViewState="False" HeaderText="Mensaje"
                            Modal="True" PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter"
                            SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                   Width="300px" EnableHotTrack="False">
                            <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Web/Loading.gif">
                            </LoadingPanelImage>
                            <HeaderStyle>
                                <Paddings PaddingLeft="7px" />
                                <Paddings PaddingLeft="10px" PaddingTop="4px" PaddingRight="4px" PaddingBottom="4px" />
                            </HeaderStyle>
                            <LoadingPanelStyle ImageSpacing="5px">
                            </LoadingPanelStyle>
                            <ContentCollection>
                                <dx:PopupControlContentControl ID="PopupControlContentControl5" runat="server" SupportsDisabledAttribute="True">
                                    <br />
                                    <dx:ASPxPanel ID="ASPxPanel2" runat="server" DefaultButton="btCreate">
                                        <PanelCollection>
                                            <dx:PanelContent ID="Panelpopup" runat="server">
                                                <table align="center">
                                                    <tr>
                                                        <td colspan="2">
                                                            <dx:ASPxLabel ID="lblmsj" runat="server" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                                                CssPostfix="Office2010Blue">
                                                            </dx:ASPxLabel>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="2">
                                                            &nbsp;
                                                        </td>
                                                    </tr>
                                                </table>
                                                <table align="center">
                                                    <tr>
                                                        <td align="center" style="width: 215px">
                                                            <dx:ASPxButton ID="btnAceptar" runat="server" Text="Aceptar" AutoPostBack="False"
                                                                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue"
                                                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                                                <ClientSideEvents Click="function(s, e) {popupmsj.Hide();}" />
                                                                <Image Url="~/Images/ok.png">
                                                                </Image>
                                                            </dx:ASPxButton>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </dx:PanelContent>
                                        </PanelCollection>
                                    </dx:ASPxPanel>
                                </dx:PopupControlContentControl>
                            </ContentCollection>
                        </dx:ASPxPopupControl>
            
        </td>
        
        </tr>
        
        </table>
        </div>
</asp:Content>
